require('../../assets/css/index.less');
require('../../assets/css/basic.less');
// 小图标
require('../../assets/fonts/iconfont.css');
require('../../assets/font/iconfont.css');
// 当前页面样式
require('./countdown.less');
// 工具函数 utils
const dom = require('../../utils/dom');
dom.ready(function() {
    var num = 3;
    var timer = window.setInterval(function() {
        dom.getEle("p").innerHTML = --num
        if (num == 0) {
            clearInterval(timer)
            dom.getEle("p").innerHTML = "GO"
            window.setTimeout(function() {
                location.href = "./motion.html"
            })
        }
    }, 1000)



})